package fina2.dcs.returns;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "IN_RETURNS")
@SuppressWarnings("serial")
public class Return implements Serializable {
	private BigDecimal id;
	private BigDecimal scheduleId;
	private BigDecimal version;
	private BigDecimal versionId;

	public Return() {

	}

	public Return(BigDecimal id, BigDecimal scheduleId, BigDecimal version, BigDecimal versionId) {
		this.id = id;
		this.scheduleId = scheduleId;
		this.version = version;
		this.versionId = versionId;
	}

	@Id
	@Column(name = "ID")
	public BigDecimal getId() {
		return id;
	}

	public void setId(BigDecimal id) {
		this.id = id;
	}

	@Column(name = "SCHEDULEID")
	public BigDecimal getScheduleId() {
		return scheduleId;
	}

	public void setScheduleId(BigDecimal scheduleId) {
		this.scheduleId = scheduleId;
	}

	@Column(name = "VERSION")
	public BigDecimal getVersion() {
		return version;
	}

	public void setVersion(BigDecimal version) {
		this.version = version;
	}

	@Column(name = "VERSIONID")
	public BigDecimal getVersionId() {
		return versionId;
	}

	public void setVersionId(BigDecimal versionId) {
		this.versionId = versionId;
	}

}
